package com.marvels.approve.mqueues.dto;

import com.marvels.common.dto.BaseDTO;

/**进件详情queue同步跟踪
 * @author 何杰
 * 2018年5月9日
 */
public class LoanApplyQueueDTO extends BaseDTO {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id ;
	private String loanId;
	private Integer status;//0初始化  1
	private Integer retryCount;
//	  `id` bigint(20) NOT NULL AUTO_INCREMENT,
//	  `loan_id` varchar(40) NOT NULL COMMENT '申请书编号',
//	  `status` tinyint(1) NOT NULL  COMMENT 'queue消费状态',
	private String updatedBy;
	private String createdBy; 
	private Integer curPage;
	private Integer pageSize;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getLoanId() {
		return loanId;
	}
	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getUpdatedBy() {
		return updatedBy;
	}
	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public Integer getCurPage() {
		return curPage;
	}
	public void setCurPage(Integer curPage) {
		this.curPage = curPage;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	@Override
	public String toString() {
		return "LoanApplyQueueDTO [id=" + id + ", loanId=" + loanId + ", status=" + status + ", updatedBy=" + updatedBy
				+ ", createdBy=" + createdBy + ", curPage=" + curPage + ", pageSize=" + pageSize + "]";
	}
	public Integer getRetryCount() {
		return retryCount;
	}
	public void setRetryCount(Integer retryCount) {
		this.retryCount = retryCount;
	}
	
	
}
